package com.yxinsur.imc.business.service.impl;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.ArrayList;
import java.util.List;

import com.yxinsur.imc.business.enums.IsDeletedEnum;
import com.yxinsur.imc.business.enums.ReportTypeEnum;
import com.yxinsur.imc.common.utils.DateUtils;
import com.yxinsur.imc.common.utils.SecurityUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.yxinsur.imc.business.mapper.ImcReportDataMapper;
import com.yxinsur.imc.business.domain.ImcReportData;
import com.yxinsur.imc.business.service.IImcReportDataService;

/**
 * 模板Service业务层处理
 * 
 * @author imc
 * @date 2021-05-31
 */
@Service
public class ImcReportDataServiceImpl extends ServiceImpl<ImcReportDataMapper, ImcReportData> implements IImcReportDataService
{
    @Autowired
    private ImcReportDataMapper imcReportDataMapper;

    private static final Logger logger = LoggerFactory.getLogger(ImcReportDataServiceImpl.class);

    /**
     * 根据报告类型获取报告分页数据
     *
     * @param reportType
     * @return
     */
    @Override
    public List<JSONObject> getReportDataListByReportType(ReportTypeEnum reportType) {
        logger.info("获取报表数据根据报表类型，报表类型："+reportType.getCode());
        return null;
    }
}
